import service from "../utils/request";
//获取推荐列表
export function getRempros(params = {}) {
    return service.get('/pro/recommendlist', { params })
}
//获取商品分页列表数据
export function getPros(params = {}) {
    return service.get('/pro/list', { params })
}
//获取秒杀列表
export function getKillpros(params = {}) {
    return service.get('/pro/seckilllist', { params })
}
//获取产品的分类列表
export function getProCategorylist(params = {}) {
    return service.get('/pro/categorylist', { params })
}
// 产品分类下品牌列表
export function getProCategorybrandlist(params = {}) {
    return service.get('/pro/categorybrandlist', { params })
}
// 获取某分类下某品牌的产品列表

export function getProCategorybrandprolist(params = {}) {
    return service.get('/pro/categorybrandprolist', { params })
}
// 热门搜索
export function getHotword(params = {}) {
    return service.get('/pro/hotword', { params })
}
//搜索列表
export function getSearch(params = {}) {
    return service.get('/pro/search', { params })
}

//获取产品的详情数据
export function getProDetail(proid:string) {
    return service.get('/pro/detail/'+proid )
}
